package com.zorn.core.provider;

import java.util.Map;

public interface IServiceSupportProvider {

	/* Getter
	================================================================= */
	
	Map<String, Object> getResult();



	/*
	 Setter
	================================================================= 
	void setResult(Map<String, Object> result);

	 Error
	================================================================= 
	void setErrorResult(String message);

	void setErrorResult(Map<String, Object> result);

	 Query
	================================================================= 
	void setQueryResult(Object data);

	void setQueryResult(boolean successful, String message);

	void setQueryResult(boolean successful, Object data);

	void setQueryResult(boolean successful, int total, Object data);

	 Count
	================================================================= 
	void setCountResult(int count);

	void setCountResult(boolean successful);

	void setCountResult(boolean successful, int count);

	void setCountResult(boolean successful, String message);

	void setCountResult(boolean successful, String message, int count);

	 Insert
	================================================================= 
	void setInsertResult(boolean successful);

	void setInsertResult(boolean successful, String message);

	void setInsertResult(boolean successful, String message, int affected);

	 Update
	================================================================= 
	void setUpdateResult(boolean successful);

	void setUpdateResult(boolean successful, String message);

	void setUpdateResult(boolean successful, String message, int affected);

	 Delete
	================================================================= 
	void setDeleteResult(boolean successful);

	void setDeleteResult(boolean successful, String message);

	void setDeleteResult(boolean successful, String message, int affected);*/

}
